package cn.honqun.tinycms.constants;

/**
 * 安全相关常量类，包括角色，用户等
 */
public final class SecurityConstants {
    /**
     * 超级管理员角色标识
     */
    public static final String ROLE_SUPER = "super";

    /**
     * 超级管理员账号
     */
    public static final String USER_ADMIN = "admin";

    public static final String ERROR_USERNAME = "用户名或密码错误!";

    public static final String ERROR_PASSWORD = "用户名或密码错误";

    public static final String ERROR_USER_DISABLED = "账号已经禁用";

    public static final String ERROR_NOT_ROLE = "权限不足，请重新登录";

    public static final String ERROR_NOT_PERMISSION = "权限不足，请重新登录";

    public static final String ERROR_NOT_LOGIN = "未登录，或者登录过期";

    public static final String ERROR_AUTH = "权限错误，请重新登录";

    private SecurityConstants() {
    }
}
